/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.domain.req.examinationRecord;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.xy.lang.validation.annotation.AlertMessage;

import java.util.Collection;

/**
 *
 *
 * @author wcs
 * @date 2021-3-10
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListExaminationRecordRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 试卷名称
	 */
	private String examinationPaperName;

	/**
	 * 考生名称
	 */
	private String examineeUserName;

	/**
	 * 是否合格：0-未评，1-合格，2-不合格
	 */
	private Integer passFlag;
	/**
	 * 是否查询全部
	 */
	private Boolean getAllFlag;

	/**
	 * 培训分类
	 train_year-年度培训
	 train_common-普通培训
	 */
	private String trainClassify;

	/**
	 * 培训Id
	 */
	@ApiModelProperty(value = "培训Id")
	private Long trainId;
	/**
	 * 培训Id
	 */
	private Collection<Long> trainIds;
}
